/**
 * Created by Administrator on 2017/7/27.
 */
angular.module('originator', [
    'ui.router',
//    引入页面控制器
    'module.activity_info',
    'module.activity_list',
    'module.apply_for_an_originator',
    'module.create_activity',
//    引入服务
    'service.common',
//    引入过滤器
    'module.filter'
])
    .run(
        ['$rootScope', '$state', '$stateParams',
            function ($rootScope, $state, $stateParams) {
                $rootScope.$state = $state;
                $rootScope.$stateParams = $stateParams;
            }
        ]
    )
    .config(['$stateProvider','$urlRouterProvider','$locationProvider',function ($stateProvider,$urlRouterProvider,$locationProvider) {
        $urlRouterProvider.otherwise('/activity_list');
    }]);